<# # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: Script is designed To fetch the TelnetClient Status # Configuration Type - COMPUTER #> # Check the status of the Telnet Client feature $telnetFeature = Get-WindowsOptionalFeature -Online -FeatureName TelnetClient if ($telnetFeature.State -eq 'Enabled') { Write-Output "Telnet Client is installed." } else { Write-Output "Telnet Client is not installed." }